package algorithms.hint;
import configuration.Configuration;
/**
* The block location fact contains exact location of the master copy
*
* @author Nodirjon Siddikov
*/
public class Fact
{
//instance variables
private int _diskBlockID; //ID of the disk block
private int _size; //size of the fact
//constructor
public Fact(int diskBlockID)
{
_diskBlockID = diskBlockID;
_size = Configuration.hintSize; //fact size if same as hint size
}
//get disk block ID
public int getDiskBlockID()
{
return _diskBlockID;
}
//get the size of fact
public int getSize()
{
return _size; //in KB
}
}